package cn.tx.reids_redlock.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author jizenan
 * @date 2025/6/11
 * Description:
 */
@ConfigurationProperties(prefix = "spring.redis")
@Data
public class RedisProperties {
    private int database;

    private int timeout = 3000;

    private String password;

    private String mode;

    //池配置
    private RedisPoolProperties pool;

    //单机信息配置
    private RedisSingleProperties single;

}
